package com.macro.mall.service;

import com.macro.mall.common.api.CommonResult;
import com.macro.mall.dto.Device;
import com.macro.mall.dto.DeviceRequest;

import java.util.List;

/**
 * @author HuangZiy
 * @version 8.0
 * @date 2021/4/26 22:43
 */
public interface DeviceService {
    CommonResult<List<Device>> getDevice(DeviceRequest request);

    CommonResult<String> addDevice(DeviceRequest request);

    CommonResult<String> updateDevice(DeviceRequest request);

    CommonResult<String> deleteDevice(Integer id);
}
